package com.lt.experiment03.mission01_2;

public class Test {
    public static void main(String[] args) {
        GrowVegetablesFactory svf = new StemVegetableFactory();
        GrowVegetablesFactory rvf = new RootVagetableFactory();
        Vegetables v1 = svf.GrowingVegetables();
        v1.Sow();
        v1.Grow();
        v1.Fruit();
        System.out.println();
        Vegetables v2 = rvf.GrowingVegetables();
        v2.Sow();
        v2.Grow();
        v2.Fruit();
    }
}
